export const hotType = {
	url: '/api/type',
	method: 'get',
	response: () => {
		return {
			resultCode: 1,
			resultInfo: {
				list: [
					{
						id: 1001,
						text: '9块9特卖',
						url: 'https://www.pmdaniu.com/storages/129156/d201f8f33fcbced772b2b58a8c1bd4d4-269022/images/%E9%A6%96%E9%A1%B5/u157.png',
						details:'/category'
					},
					{
						id: 1002,
						text: '一元拼团',
						url: 'https://www.pmdaniu.com/storages/129156/d201f8f33fcbced772b2b58a8c1bd4d4-269022/images/%E9%A6%96%E9%A1%B5/u174.png',
						details:'/category'
					},
					{
						id: 1003,
						text: '女装',
						url: 'https://www.pmdaniu.com/storages/129156/d201f8f33fcbced772b2b58a8c1bd4d4-269022/images/%E9%A6%96%E9%A1%B5/u159.png',
						details:'/category'
					},
					{
						id: 1004,
						text: '化妆护肤',
						url: 'https://www.pmdaniu.com/storages/129156/d201f8f33fcbced772b2b58a8c1bd4d4-269022/images/%E9%A6%96%E9%A1%B5/u153.png',
						details:'/category'
					},
					{
						id: 1005,
						text: '时令果蔬',
						url: 'https://www.pmdaniu.com/storages/129156/d201f8f33fcbced772b2b58a8c1bd4d4-269022/images/%E9%A6%96%E9%A1%B5/u162.png',
						details:'/category'
					},
					{
						id: 1006,
						text: '邀请有礼',
						url: 'https://www.pmdaniu.com/storages/129156/d201f8f33fcbced772b2b58a8c1bd4d4-269022/images/%E9%A6%96%E9%A1%B5/u172.png',
						details:'/category'
					},
					{
						id: 1007,
						text: '肉禽蛋类',
						url: 'https://www.pmdaniu.com/storages/129156/d201f8f33fcbced772b2b58a8c1bd4d4-269022/images/%E9%A6%96%E9%A1%B5/u165.png',
						details:'/category'
					},
					{
						id: 1008,
						text: '海鲜水产',
						url: 'https://www.pmdaniu.com/storages/129156/d201f8f33fcbced772b2b58a8c1bd4d4-269022/images/%E9%A6%96%E9%A1%B5/u168.png',
						details:'/category'
					},
					{
						id: 1009,
						text: '熊猫生鲜',
						url: 'https://m15.360buyimg.com/mobilecms/jfs/t1/177902/16/13776/5658/60ec0e71E801087f2/a0d5a68bf1461e6d.png!q70.jpg',
						details:'/category'
					},
					{
						id: 1010,
						text: '熊猫到家',
						url: 'https://m15.360buyimg.com/mobilecms/jfs/t1/196472/7/12807/7127/60ec0ea3Efe11835b/37c65625d94cae75.png!q70.jpg',
						details:'/category'
					},
				],
			},
		}
	},
}

export const testApi = {
	url: '/api/h52208/yujing',
	method: 'get',
	response: () => {
		return {
			code: 0,
			message: 'ok',
			'data|15': [
				{
					id: 0, // 预警占比
					'grad|0-3': 0, // 预警等级
					'score|0-100': 0, // 预警数量
					'age|0-100': 0, // 报警数量
				},
			],
		}
	},
}

export const testRegister = {
	url: '/api/h52208/register',
	method: 'get',
	response: () => {
		return {
			code: 0,
			message: 'ok',
			data: {
				id: '@increment()',
				username: '',
				password: '',
			},
		}
	},
}
